package com.tzz.service;

import com.tzz.entity.Product;
import com.tzz.exception.AddExistException;

import java.util.List;

public interface ProductService {
    List<Product> findProductsByIdName(Product product);
    void addProduct(Product product) throws AddExistException;
    void deleteProductById(Integer id);
}
